﻿@model LogEntity
	<table class="layui-table">
		<tbody>
			<tr>
				<td style="width: 30%;">
					<strong>日志序号：</strong>
				</td>
				<td>
					@Model.LogID
				</td>
			</tr>
			<tr>
				<td>
					<strong>日志类型：</strong>
				</td>
				<td>
					@EnumHelper.GetDescription((LogCategory)Model.Category)
				</td>
			</tr>
			<tr>
				<td>
					<strong>优先级别：</strong>
				</td>
				<td>
					@EnumHelper.GetDescription((LogPriority)Model.Priority)
				</td>
			</tr>
			<tr>
				<td>
					<strong>访问地址：</strong>
				</td>
				<td>
					@Model.ScriptName
				</td>
			</tr>
			<tr>
				<td>
					<strong>记录时间：</strong>
				</td>
				<td>
					@Model.Timestamp.Value.ToString("yyyy-MM-dd HH:mm:ss")
				</td>
			</tr>
			<tr>
				<td>
					<strong>操作人：</strong>
				</td>
				<td>
					@Model.UserName
				</td>
			</tr>
			<tr>
				<td>
					<strong>操作人IP：</strong>
				</td>
				<td>
					@Model.UserIP
				</td>
			</tr>
			<tr>
				<td>
					<strong>日志标题：</strong>
				</td>
				<td>
					@Model.Title
				</td>
			</tr>
			<tr>
				<td>
					<strong>日志内容：</strong>
				</td>
				<td>
					@Model.Message
				</td>
			</tr>
			<tr>
				<td>
					<strong>提交的信息：</strong>
				</td>
				<td>
					@Model.PostString
				</td>
			</tr>
			<tr>
				<td>
					<strong>异常信息：</strong>
				</td>
				<td style="word-break: break-all;">
					@Model.Source
				</td>
			</tr>
		</tbody>
	</table>